import type { Menu } from '@/index.d';

export const navyMenu: Menu[] = [
  {
    type: 'subMenu',
    path: 'system',
    name: 'System',
    title: '系统设置',
    redirect: '/system/user',
    fullPath: '/system',
    isShow: true,
    icon: 'Platform',
    children: [
      {
        type: 'item',
        path: 'user',
        name: 'systemUser',
        title: '用户管理',
        fullPath: '/system/user',
        isShow: true,
        component: () => import('@/views/system/user/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'role',
        name: 'systemRole',
        title: '角色管理',
        fullPath: '/system/role',
        isShow: true,
        component: () => import('@/views/system/role/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'permission',
        name: 'systemPermission',
        title: '权限管理',
        fullPath: '/system/permission',
        isShow: true,
        component: () => import('@/views/system/permission/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'group',
        name: 'systemGroup',
        title: '分组管理',
        fullPath: '/system/group',
        isShow: true,
        component: () => import('@/views/system/permission/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'department',
        name: 'systemDepartment',
        title: '组织架构',
        fullPath: '/system/department',
        isShow: true,
        component: () => import('@/views/system/department/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'operation',
        name: 'systemOPeration',
        title: '操作管理',
        fullPath: '/system/operation',
        isShow: true,
        component: () => import('@/views/system/operation/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'dictionary',
        name: 'systemDictionary',
        title: '字典管理',
        fullPath: '/system/dictionary',
        isShow: true,
        component: () => import('@/views/system/dictionary/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'flowable',
    name: 'Flowable',
    title: '流程管理',
    redirect: '/flowable/processDefinition ',
    fullPath: '/flowable',
    isShow: true,
    icon: 'School',
    children: [
      {
        type: 'item',
        path: 'processDefinition',
        name: 'flowableProcessDefinition',
        title: '流程定义',
        fullPath: '/flowable/processDefinition',
        isShow: true,
        component: () => import('@/views/flowable/processDefinition/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'processInstance',
        name: 'flowableProcessInstance',
        title: '流程实例',
        fullPath: '/flowable/processInstance',
        isShow: true,
        component: () => import('@/views/flowable/processInstance/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'person',
    name: 'Person',
    title: '人员管理',
    redirect: '/person/personCertification',
    fullPath: '/person',
    isShow: true,
    icon: 'User',
    children: [
      {
        type: 'item',
        path: 'ndePersonCertification',
        name: 'NdePersonCertification',
        title: '无损人员证书',
        fullPath: '/person/ndePersonCertification',
        isShow: true,
        component: () => import('@/views/person/ndePersonCertification/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'ndePersonOperationRecord',
        name: 'NdePersonOperationRecord',
        title: '无损操作记录',
        fullPath: '/person/ndePersonOperationRecord',
        isShow: true,
        component: () => import('@/views/person/ndePersonOperationRecord/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'consumable',
    name: 'Consumable',
    title: '耗材管理',
    redirect: '/consumable/consumableOverview',
    fullPath: '/consumable',
    isShow: true,
    icon: 'User',
    children: [
      {
        type: 'item',
        path: 'consumableOverview',
        name: 'ConsumableOverview',
        title: '耗材总览',
        fullPath: '/consumable/consumableOverview',
        isShow: true,
        component: () => import('@/views/consumable/consumableOverview/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'asmePerson',
    name: 'AsmePerson',
    title: '美标人员',
    redirect: '/asmePerson/asmePersonInfo',
    fullPath: '/asmePerson',
    isShow: true,
    icon: 'User',
    children: [
      {
        type: 'item',
        path: 'asmePersonInfo',
        name: 'AsmePersonInfo',
        title: '美标人员信息',
        fullPath: '/asmePerson/asmePersonInfo',
        isShow: true,
        component: () => import('@/views/asmePerson/asmePersonInfo/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'asmePersonCertification',
        name: 'AsmePersonCertification',
        title: '美标人员证书',
        fullPath: '/asmePerson/asmePersonCertification',
        isShow: true,
        component: () => import('@/views/asmePerson/asmePersonCertification/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'asmePersonTrainInstructor',
        name: 'AsmePersonTrainInstructor',
        title: '美标培训导师',
        fullPath: '/asmePerson/asmePersonTrainInstructor',
        isShow: true,
        component: () => import('@/views/asmePerson/asmePersonTrainInstructor/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'asmePersonTrainCourse',
        name: 'AsmePersonTrainCourse',
        title: '美标课程设计',
        fullPath: '/asmePerson/asmePersonTrainCourse',
        isShow: true,
        component: () => import('@/views/asmePerson/asmePersonTrainCourse/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'asmePersonExamContent',
        name: 'AsmePersonExamContent',
        title: '美标试卷设计',
        fullPath: '/asmePerson/asmePersonExamContent',
        isShow: true,
        component: () => import('@/views/asmePerson/asmePersonExamContent/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'test',
    name: 'Test',
    title: '网站测试',
    redirect: '/test/sfc',
    fullPath: '/test',
    isShow: true,
    icon: 'Van',
    children: [
      {
        type: 'item',
        path: 'sfc',
        name: 'testSfc',
        title: '单文组件',
        fullPath: '/test/sfc',
        isShow: true,
        component: () => import('@/views/test/sfc/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'component',
        name: 'testComponent',
        title: '组件测试',
        fullPath: '/test/component',
        isShow: true,
        component: () => import('@/views/test/component/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'upload',
        name: 'testUpload',
        title: '文件上传',
        fullPath: '/test/upload',
        isShow: true,
        component: () => import('@/views/test/upload/index.vue'),
        icon: ''
      }
    ]
  }
];
